package uk.co.nazz.f21mc_a2.diary;

/**
 * 
 * @author Andrew
 * 
 *         The attendee class represents a meeting attendee and contains
 *         accessor methods to retrieve email, id and name
 * 
 */

public class Attendee {

	private int id;
	private String name;
	private String email;

	public Attendee(int id, String name, String email) {
		this.id = id;
		this.name = name;
		this.email = email;
	}

	public String getEmail() {
		return email;

	}

	public String getName() {
		return name;
	}

	public int getId() {
		return id;
	}

	@Override
	public String toString() {
		return name;
	}

}
